SYS.Messenger.Dialog.Emoticon = SYS.extend(SYS.Messenger.Dialog,{
	initDialog:function()
	{
		this.content = '';
		for(var i = 0; i < SYS.Messenger.emoticons.length; i++)
		{
			this.content += '<a class="icon-chat" href="#a" onclick="SYS.vimuaChat.typing(\''+SYS.Messenger.emoticons[i].shortcut.replace("'","\\'").replace('"','&quot;')+'\');SYS.vimuaChat.emoticonDialog.hide();void(0);"><img class="icon-chat" src="'+staticURL+'portals/vimua/skins/default/images/emoticons/thumb'+SYS.Messenger.emoticons[i].id+'.gif" title="'+SYS.Messenger.emoticons[i].name+'" width="20" height="20"></a>';
		}
		this.options = {
			title:'Các biểu tượng',
			width:350,
			height:200
		}
		SYS.Messenger.Dialog.prototype.initDialog.call(this);
	}
});
//SYS.vimuaChat.emoticonDialog.hide();